package liuwanghui.constant;

public interface CommonConstant {
    String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    
    interface Status {
        String ENABLE = "1";
        String DISABLE = "0";
    }
    
    interface OrderStatus {
        String PENDING = "PENDING";
        String PROCESSING = "PROCESSING";
        String COMPLETED = "COMPLETED";
        String CANCELLED = "CANCELLED";
    }
    
    interface ProductStatus {
        String ON_SALE = "ON_SALE";
        String OFF_SALE = "OFF_SALE";
        String DELETED = "DELETED";
    }
    
    interface CacheKey {
        String PRODUCT = "product:";
        String INVENTORY = "inventory:";
        String ORDER = "order:";
        String STATISTICS = "statistics";
    }
} 